package com.tengfei.main.user.service;

import com.tengfei.common.core.domain.R;
import com.tengfei.main.exam.domain.vo.PaperVo;
import com.tengfei.main.user.domain.vo.exam.UserPaperInitVo;
import com.tengfei.main.user.domain.vo.exam.UserPaperVo;

import java.util.List;
import java.util.Map;

/**
 * @author feige
 * @version v1.0
 * @date 2022-09-13-21:27
 * @description
 */
public interface IUserExamService {
    List<UserPaperVo> getPaperList(Integer paperStatus, Integer status, String paperName);

    R<UserPaperInitVo> initPaper(Long paperId);

    R<Object> quInfo(Long quId, Long paperId,Integer quType);

    R<Void> uploadQuAns(Long quId, Long paperId, String userAns);

    R<Void> submitPaper(Long paperId);

    R<List> ansInfoList(Long paperId);

    List<PaperVo> getAllPaperList(Integer paperStatus, String paperName);

    R<UserPaperVo> getUserPaperById(Long paperId);

    R<Void> examInfo(Long paperId);

    R<List<Map<String, Object>>> userRank(Long paperId);
}
